// https://iai.sh.cn/problem/79
#include <bits/stdc++.h>
using namespace std;
int main() {

  int a, x, y;
  cin >> a >> x >> y;
  int ren = x + y; // 计算人数
  int qian = a * ren - x; // 计算钱
  cout << ren << " " << qian;

  return 0;
}